/*
 */

#include <avr/io.h>

void uart0_init(void)
{
    UCSRB=0X00;//DIABLE
    UCSRA=0X03;
    UCSRC=0X86;
    UBRRL=0X0C;
    UBRRH=0X00;
    UCSRB=0X18;//ENABLE
}

int main(void)
{

    // Insert code
    int i=0;

    asm("cli");
    uart0_init();
    MCUCR=0X00;
    GICR=0X00;
    TIMSK=0X00;
    asm("sei");


    while(1)
    {
        while(!(UCSRA & (1<<UDRE)));
        if(i==0)
        {
            UDR=0X55;
        }
        else if(i==1)
        {
            UDR=0Xaa;
        }
        else
        {
            UDR=0X66;
        }
        i++;
        if(i==3)
        {
            i=0;
        }

    }
    return 0;
}
